<template>
  <a-button type="primary" @click="showUser()">Primary Button</a-button>
</template>
<script>
export default{
  name:'App'
}
showUser(){
  console.log("my name is chengxu,welcome to ant design vue");
}
</script>
<style>
#app{
  padding:20px;
}
</style>